package zjw.springboot2.test.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
 //https://blog.csdn.net/qq_56460466/article/details/126085037
@Controller
public class MyController {
 
    @Resource
    MyWebSocketService webSocketService;
 
    @RequestMapping("/sendMessage")
    @ResponseBody
    public Object sendMessage(String msg){
//        webSocketService.sendMessage(msg);
        return null;
    }
}